#!/usr/bin/python

import tensorflow as tf

a = tf.constant([[1.0, 2.0], [1.0, 2.0], [1.0, 2.0]])

b = tf.constant([2.0, 1.0])
c = tf.constant([1.0])
sess = tf.Session()
print(sess.run(tf.nn.bias_add(a, b)))
# print (sess.run(tf.nn.bias_add(a,c))) error
print("##################################")
print(sess.run(tf.add(a, b)))
print("##################################")
print(sess.run(tf.add(a, c)))
